# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2019 OpenWrt.org
# Copyright (C) 2016 LEDE project

include $(TOPDIR)/rules.mk

ARCH:=mips
BOARD:=bcm63xx
BOARDNAME:=Broadcom BCM63xx
SUBTARGETS:=generic smp
FEATURES:=squashfs usb atm pci pcmcia usbgadget source-only

KERNEL_PATCHVER:=5.15

define Target/Description
	Build firmware images for Broadcom based xDSL/routers
	currently supports BCM6338, BCM6348 and BCM6358 based devices.
	(e.g. Inventel Livebox, Siemens SE515, Neufbox 4)
endef

include $(INCLUDE_DIR)/target.mk

DEFAULT_PACKAGES += swconfig kmod-gpio-button-hotplug

$(eval $(call BuildTarget))
